package com.crm.model.vo.returnMoney;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.lang.annotation.ElementType;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ExcelIgnoreUnannotated
public class PerformanceDetailsVO {

    //产品名称
    @ColumnWidth(12)
    @ExcelProperty(value = "产品名称")
    private String productName;
    //订单id
    private String orderId;
    //订单编号
    @ColumnWidth(12)
    @ExcelProperty(value = "订单编号")
    private String orderNumber;
    //合同id
    private String contractId;
    //合同编号
    @ColumnWidth(12)
    @ExcelProperty(value = "合同编号")
    private String contractNumber;
    //产品类型  0:非会员:1:会员
    @ColumnWidth(12)
    @ExcelProperty(value = "产品类型")
    private String productCategories;
    //到款金额
    @ColumnWidth(12)
    @ExcelProperty(value = "到款金额")
    private BigDecimal arriveMoney;
    //到款方式  0银行回款 1现金 2余额支付 3线上支付 4转入额支付 5微信支付
    @ColumnWidth(12)
    @ExcelProperty(value = "到款方式")
    private String arriveMethod;
    //发放提成状态 0 未发放 1已发放
    @ColumnWidth(12)
    @ExcelProperty(value = "发放提成状态")
    private String royaltyStatus;
    //业绩金额
    @ColumnWidth(12)
    @ExcelProperty(value = "业绩金额")
    private BigDecimal scoreMoney;
    //到款日期
    @ColumnWidth(12)
    @ExcelProperty(value = "到款日期")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date arriveTime;
    //录入人id
    private String createBy;
    //流水号
    @ColumnWidth(12)
    @ExcelProperty(value = "流水号")
    private String serial;
    //录入人
    @ColumnWidth(12)
    @ExcelProperty(value = "录入人")
    private String userName;

    private String customerName;

}
